package com.ssyc.gsk_teacher.bean;

import java.util.List;

/**
 * 班级分析的数据模型
 * Created by Administrator on 2018/7/2 0002.
 */

public class ClassAnalyInfo {

    /**
     * data : [{"absent":"0","date":"2018-06","late":"4","rest":"4"},{"absent":"0","date":"2018-07","late":"2","rest":"1"},{"absent":"0","date":"2018-08","late":"0","rest":"0"},{"absent":"0","date":"2018-09","late":"0","rest":"0"}]
     * state : 200
     */

    private String state;
    private List<DataBean> data;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * absent : 0 //迟到人数
         * date : 2018-06
         * late : 4     //旷到人数
         * rest : 4  //请假人数
         */

        private String absent;
        private String date;
        private String late;
        private String rest;

        public String getAbsent() {
            return absent;
        }

        public void setAbsent(String absent) {
            this.absent = absent;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getLate() {
            return late;
        }

        public void setLate(String late) {
            this.late = late;
        }

        public String getRest() {
            return rest;
        }

        public void setRest(String rest) {
            this.rest = rest;
        }
    }
}
